<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>RaspBerryPi power control: src/bcm2835.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">RaspBerryPi power control
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">bcm2835.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="bcm2835_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// bcm2835.h</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// C and C++ support for Broadcom BCM 2835 as used in Raspberry Pi</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// http://elinux.org/RPi_Low-level_peripherals</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// Author: Mike McCauley (mikem@open.com.au)</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// Copyright (C) 2011 Mike McCauley</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// $Id: bcm2835.h,v 1.4 2012/07/16 23:57:59 mikem Exp mikem $</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">// Defines for BCM2835</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#ifndef BCM2835_H</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_H</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="code" href="group__constants.html#ga5bb885982ff66a2e0a0a45a8ee9c35e2">  177</a></span>&#160;<span class="preprocessor">#define HIGH 0x1</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="code" href="group__constants.html#gab811d8c6ff3a505312d3276590444289">  179</a></span>&#160;<span class="preprocessor">#define LOW  0x0</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment">// Physical addresses for various peripheral regiser sets</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="code" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">  183</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define BCM2835_PERI_BASE               0x20000000</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="code" href="group__constants.html#gad67de3f137d951059c332980db171ffb">  185</a></span>&#160;<span class="preprocessor">#define BCM2835_GPIO_PADS               (BCM2835_PERI_BASE + 0x100000)</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="group__constants.html#ga23c5c42494588d137ce4e2c5fa1ef503">  187</a></span>&#160;<span class="preprocessor">#define BCM2835_CLOCK_BASE              (BCM2835_PERI_BASE + 0x101000)</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="group__constants.html#ga18644b2c5bcf4463e340087ffbaf38e4">  189</a></span>&#160;<span class="preprocessor">#define BCM2835_GPIO_BASE               (BCM2835_PERI_BASE + 0x200000)</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="code" href="group__constants.html#ga6a6ad3a241527d11409cfd0228f6af0f">  191</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_BASE                (BCM2835_PERI_BASE + 0x204000)</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="code" href="group__constants.html#gac7dd12cef0d936f0787273810a525aa1">  193</a></span>&#160;<span class="preprocessor">#define BCM2835_GPIO_PWM                (BCM2835_PERI_BASE + 0x20C000)</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="group__constants.html#ga7283abea0c7bd58a9faa12b51875c5f9">  196</a></span>&#160;<span class="preprocessor">#define BCM2835_PAGE_SIZE               (4*1024)</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="group__constants.html#ga78709ba3128e986d3185c272d6cc29d7">  198</a></span>&#160;<span class="preprocessor">#define BCM2835_BLOCK_SIZE              (4*1024)</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment">// Defines for GPIO</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="comment">// The BCM2835 has 54 GPIO pins.</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="comment">//      BCM2835 data sheet, Page 90 onwards.</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="group__constants.html#ga00917d110abbdec714c4005a59848902">  205</a></span>&#160;<span class="comment"></span><span class="preprocessor">#define BCM2835_GPFSEL0                      0x0000 </span></div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="group__constants.html#ga76fb9088a948cfff2fce816a03d610ca">  206</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFSEL1                      0x0004 </span></div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="code" href="group__constants.html#ga7b6504e9e73af599860a175f77752074">  207</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFSEL2                      0x0008 </span></div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="group__constants.html#gaa1dc7331a5c2b343b89fc43e1a2632ac">  208</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFSEL3                      0x000c </span></div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="code" href="group__constants.html#ga01c8888e41dd1a89d98cc053567d1f58">  209</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFSEL4                      0x0010 </span></div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="group__constants.html#ga74095771a9c64d18383c83d852423a52">  210</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFSEL5                      0x0014 </span></div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="group__constants.html#gab932050ff4d1cca2c88e7b0938b207ff">  211</a></span>&#160;<span class="preprocessor">#define BCM2835_GPSET0                       0x001c </span></div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="group__constants.html#gaea654f86dc2dcad6fb98234621565ea9">  212</a></span>&#160;<span class="preprocessor">#define BCM2835_GPSET1                       0x0020 </span></div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="group__constants.html#gafb1747241f4bb7ff862e8a018df95347">  213</a></span>&#160;<span class="preprocessor">#define BCM2835_GPCLR0                       0x0028 </span></div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="code" href="group__constants.html#ga909c5e086a927f35b0d8effd0080b666">  214</a></span>&#160;<span class="preprocessor">#define BCM2835_GPCLR1                       0x002c </span></div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="group__constants.html#ga041b207af12c06812ae61d7843f29722">  215</a></span>&#160;<span class="preprocessor">#define BCM2835_GPLEV0                       0x0034 </span></div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="code" href="group__constants.html#gab9119967adce528ba0be92c18c74f620">  216</a></span>&#160;<span class="preprocessor">#define BCM2835_GPLEV1                       0x0038 </span></div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="group__constants.html#ga465a3654de5aed71841769dd28e6d8d2">  217</a></span>&#160;<span class="preprocessor">#define BCM2835_GPEDS0                       0x0040 </span></div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="code" href="group__constants.html#gad12207f38948faa0009e45a5d7979991">  218</a></span>&#160;<span class="preprocessor">#define BCM2835_GPEDS1                       0x0044 </span></div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="group__constants.html#ga4d9faef4b2dc479356d1a6cf4d9a97de">  219</a></span>&#160;<span class="preprocessor">#define BCM2835_GPREN0                       0x004c </span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="group__constants.html#ga4059231531964a7c19e04c32b1b3dc84">  220</a></span>&#160;<span class="preprocessor">#define BCM2835_GPREN1                       0x0050 </span></div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="group__constants.html#ga1700c03b5c1cccaa1f2d1af5ceb8a07e">  221</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFEN0                       0x0048 </span></div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="group__constants.html#ga417b97cba380741da717b9aef7382eda">  222</a></span>&#160;<span class="preprocessor">#define BCM2835_GPFEN1                       0x005c </span></div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="group__constants.html#gad4fa850fe62fcc04aa4f27c8aea86b12">  223</a></span>&#160;<span class="preprocessor">#define BCM2835_GPHEN0                       0x0064 </span></div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="group__constants.html#gae3fdab5dd28d9c6309373d6819c221f1">  224</a></span>&#160;<span class="preprocessor">#define BCM2835_GPHEN1                       0x0068 </span></div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="group__constants.html#ga596691fdae72cd50839e6faaa166ddfa">  225</a></span>&#160;<span class="preprocessor">#define BCM2835_GPLEN0                       0x0070 </span></div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="group__constants.html#gaa8c7dec188f62ed2fd24849f35c8edcf">  226</a></span>&#160;<span class="preprocessor">#define BCM2835_GPLEN1                       0x0074 </span></div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="group__constants.html#ga761328af6fed56935e474a4d5f773156">  227</a></span>&#160;<span class="preprocessor">#define BCM2835_GPAREN0                      0x007c </span></div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="code" href="group__constants.html#gabb0649bc082de78b977f43876363963f">  228</a></span>&#160;<span class="preprocessor">#define BCM2835_GPAREN1                      0x0080 </span></div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="code" href="group__constants.html#gaf7fb83f519c19337f5ef44f6eb11609f">  229</a></span>&#160;<span class="preprocessor">#define BCM2835_GPAFEN0                      0x0088 </span></div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="group__constants.html#gacf9264f231d53db4567e9c582e8f4491">  230</a></span>&#160;<span class="preprocessor">#define BCM2835_GPAFEN1                      0x008c </span></div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="code" href="group__constants.html#gaf8b78001cdb3bea2d9e907c07693671b">  231</a></span>&#160;<span class="preprocessor">#define BCM2835_GPPUD                        0x0094 </span></div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="code" href="group__constants.html#gad6e8fe11f1afdef6245045ec27059732">  232</a></span>&#160;<span class="preprocessor">#define BCM2835_GPPUDCLK0                    0x0098 </span></div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="code" href="group__constants.html#ga6db680bbda10290da4a9637d21719811">  233</a></span>&#160;<span class="preprocessor">#define BCM2835_GPPUDCLK1                    0x009c </span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="code" href="group__constants.html#ga485a5a69e864565b0cd18b33ae1f59f2">  237</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;{</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2ab14bfe5240f66659c5dabef39641e0cf">  239</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2ab14bfe5240f66659c5dabef39641e0cf" title="Input.">BCM2835_GPIO_FSEL_INPT</a>  = 0b000,   </div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a8107db411db5ac03cf3da12ad91956e4">  240</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a8107db411db5ac03cf3da12ad91956e4" title="Output.">BCM2835_GPIO_FSEL_OUTP</a>  = 0b001,   </div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2abc84f3ee611fbe48876358ed590987d6">  241</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2abc84f3ee611fbe48876358ed590987d6" title="Alternate function 0.">BCM2835_GPIO_FSEL_ALT0</a>  = 0b100,   </div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a81058cc284cc50b64e662122fffacb55">  242</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a81058cc284cc50b64e662122fffacb55" title="Alternate function 1.">BCM2835_GPIO_FSEL_ALT1</a>  = 0b101,   </div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2aa549fbfb0f09bd07d16065924723951a">  243</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2aa549fbfb0f09bd07d16065924723951a" title="Alternate function 2.">BCM2835_GPIO_FSEL_ALT2</a>  = 0b110,   </div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a51045fb18f8b8dca33c5693f8fe8fd1c">  244</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a51045fb18f8b8dca33c5693f8fe8fd1c" title="Alternate function 3.">BCM2835_GPIO_FSEL_ALT3</a>  = 0b111,   </div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2ad19164ae828b01143b05ce504a76dcd3">  245</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2ad19164ae828b01143b05ce504a76dcd3" title="Alternate function 4.">BCM2835_GPIO_FSEL_ALT4</a>  = 0b011,   </div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a95960d8916729b49b174613b04b57416">  246</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a95960d8916729b49b174613b04b57416" title="Alternate function 5.">BCM2835_GPIO_FSEL_ALT5</a>  = 0b010,   </div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a7e1332f8ad6bb7ff98b621ba70a7edee">  247</a></span>&#160;    <a class="code" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a7e1332f8ad6bb7ff98b621ba70a7edee" title="Function select bits mask.">BCM2835_GPIO_FSEL_MASK</a>  = 0b111    </div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;} <a class="code" href="group__constants.html#ga485a5a69e864565b0cd18b33ae1f59f2" title="bcm2835PortFunction Port function select modes for bcm2845_gpio_fsel()">bcm2835FunctionSelect</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="code" href="group__constants.html#ga12cc68fcae50fba711398861e97175bf">  252</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;{</div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="code" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfaf0317ce1232d1a5c4b050e6574fa8e05">  254</a></span>&#160;    <a class="code" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfaf0317ce1232d1a5c4b050e6574fa8e05" title="Off ? disable pull-up/down.">BCM2835_GPIO_PUD_OFF</a>     = 0b00,   </div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="code" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfa9ead1946bbd26d4162ab566437415e88">  255</a></span>&#160;    <a class="code" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfa9ead1946bbd26d4162ab566437415e88" title="Enable Pull Down control.">BCM2835_GPIO_PUD_DOWN</a>    = 0b01,   </div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="code" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfacb01d52867eff9173574109b7249e8b2">  256</a></span>&#160;    <a class="code" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfacb01d52867eff9173574109b7249e8b2" title="Enable Pull Up control.">BCM2835_GPIO_PUD_UP</a>      = 0b10    </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;} <a class="code" href="group__constants.html#ga12cc68fcae50fba711398861e97175bf" title="bcm2835PUDControl Pullup/Pulldown defines for bcm2845_gpio_pud()">bcm2835PUDControl</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="group__constants.html#ga4d20d8211cc82313ea5ded2502928828">  260</a></span>&#160;<span class="preprocessor">#define BCM2835_PADS_GPIO_0_27               0x002c </span></div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="code" href="group__constants.html#ga1cbce6b8e2a5c1ff8cb98bf619c48566">  261</a></span>&#160;<span class="preprocessor">#define BCM2835_PADS_GPIO_28_45              0x0030 </span></div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="code" href="group__constants.html#ga812e6ccc1cebd0a44bd3d355902566a0">  262</a></span>&#160;<span class="preprocessor">#define BCM2835_PADS_GPIO_46_53              0x0034 </span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00265"></a><span class="lineno"><a class="code" href="group__constants.html#ga2ce4541798c37b8d253df1c9ff090606">  265</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_PASSWRD                  (0x5A &lt;&lt; 24)  </span></div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="code" href="group__constants.html#gaef28743dd2384a4230e430a4617876bc">  266</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_SLEW_RATE_UNLIMITED      0x10 </span></div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="code" href="group__constants.html#ga9f9b865c716f45aabd0b5dc0385c8fe9">  267</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_HYSTERESIS_ENABLED       0x08 </span></div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="code" href="group__constants.html#ga3fee5477b0fe9c881acc4cfee36d0e91">  268</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_2mA                0x00 </span></div>
<div class="line"><a name="l00269"></a><span class="lineno"><a class="code" href="group__constants.html#gabcff85928631a5e02819a7ab9c5de446">  269</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_4mA                0x01 </span></div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="code" href="group__constants.html#ga4031739ca3a20be73fcc7851ad72f799">  270</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_6mA                0x02 </span></div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="code" href="group__constants.html#gacc25f3916cea3f06a98dd86d7ed6f90a">  271</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_8mA                0x03 </span></div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="code" href="group__constants.html#gad7486566fbf3639e40271c2891f228f4">  272</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_10mA               0x04 </span></div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="code" href="group__constants.html#gad5317cf984e9ea1ff0f634594f444241">  273</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_12mA               0x05 </span></div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="code" href="group__constants.html#gab81348e1c486d1f8ea26db36484f8652">  274</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_14mA               0x06 </span></div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="group__constants.html#ga219597896782a72ba61155b93c2256d8">  275</a></span>&#160;<span class="preprocessor">#define BCM2835_PAD_DRIVE_16mA               0x07 </span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="code" href="group__constants.html#gaad545896af4bfd6aa8fe3c252cccb60f">  279</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;{</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fab09304d698f6f2c24023cc9757d44980">  281</a></span>&#160;    <a class="code" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fab09304d698f6f2c24023cc9757d44980" title="Pad group for GPIO pads 0 to 27.">BCM2835_PAD_GROUP_GPIO_0_27</a>         = 0, </div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="code" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fa5ae4b9e4ac1542c87c505938c4bd4513">  282</a></span>&#160;    <a class="code" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fa5ae4b9e4ac1542c87c505938c4bd4513" title="Pad group for GPIO pads 28 to 45.">BCM2835_PAD_GROUP_GPIO_28_45</a>        = 1, </div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="code" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fa8ff426a613becbf4c87cbbca8e5634f8">  283</a></span>&#160;    <a class="code" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fa8ff426a613becbf4c87cbbca8e5634f8" title="Pad group for GPIO pads 46 to 53.">BCM2835_PAD_GROUP_GPIO_46_53</a>        = 2  </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;} <a class="code" href="group__constants.html#gaad545896af4bfd6aa8fe3c252cccb60f" title="bcm2835PadGroup Pad group specification for bcm2845_gpio_pad()">bcm2835PadGroup</a>;</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
<div class="line"><a name="l00294"></a><span class="lineno"><a class="code" href="group__constants.html#ga63c029bd6500167152db4e57736d0939">  294</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;{</div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a1517b7c4655c6717f16b83effd033a9e">  296</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a1517b7c4655c6717f16b83effd033a9e" title="Pin P1-03.">RPI_GPIO_P1_03</a>        =  0,  </div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a8afeaa60595130f2b2a59428fac39bb9">  297</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a8afeaa60595130f2b2a59428fac39bb9" title="Pin P1-05.">RPI_GPIO_P1_05</a>        =  1,  </div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a41799c767a7a63811b6ef58b0f9da904">  298</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a41799c767a7a63811b6ef58b0f9da904" title="Pin P1-07.">RPI_GPIO_P1_07</a>        =  4,  </div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a47a439611ae9cd893aac347d15bbf218">  299</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a47a439611ae9cd893aac347d15bbf218" title="Pin P1-08, defaults to alt function 0 UART0_TXD.">RPI_GPIO_P1_08</a>        = 14,  </div>
<div class="line"><a name="l00300"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ac66b00ec0af3672ba730c934c9b0d8cd">  300</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ac66b00ec0af3672ba730c934c9b0d8cd" title="Pin P1-10, defaults to alt function 0 UART0_RXD.">RPI_GPIO_P1_10</a>        = 15,  </div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939add159b08381523060c2c747ea697389e">  301</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939add159b08381523060c2c747ea697389e" title="Pin P1-11.">RPI_GPIO_P1_11</a>        = 17,  </div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a6e12829cb731101636dfa379e6c81a98">  302</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a6e12829cb731101636dfa379e6c81a98" title="Pin P1-12.">RPI_GPIO_P1_12</a>        = 18,  </div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ae59a6a5c8aec8a2426fee3d4dbcdea9f">  303</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ae59a6a5c8aec8a2426fee3d4dbcdea9f" title="Pin P1-13.">RPI_GPIO_P1_13</a>        = 21,  </div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aa955f342de17923e50658dadaec4f094">  304</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aa955f342de17923e50658dadaec4f094" title="Pin P1-15.">RPI_GPIO_P1_15</a>        = 22,  </div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a4fcda42047fb1dd3b35f7fbec563c838">  305</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a4fcda42047fb1dd3b35f7fbec563c838" title="Pin P1-16.">RPI_GPIO_P1_16</a>        = 23,  </div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a47d4996416a8fde17cef2c56eea31a58">  306</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a47d4996416a8fde17cef2c56eea31a58" title="Pin P1-18.">RPI_GPIO_P1_18</a>        = 24,  </div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aa55f690a41c9fe86afdffabcf2949e24">  307</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aa55f690a41c9fe86afdffabcf2949e24" title="Pin P1-19, MOSI when SPI0 in use.">RPI_GPIO_P1_19</a>        = 10,  </div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939adf0419ccc92c6631ce8cdaeec622a98a">  308</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939adf0419ccc92c6631ce8cdaeec622a98a" title="Pin P1-21, MISO when SPI0 in use.">RPI_GPIO_P1_21</a>        =  9,  </div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a7a40d329190705fdbe6b7902ea54985c">  309</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a7a40d329190705fdbe6b7902ea54985c" title="Pin P1-22.">RPI_GPIO_P1_22</a>        = 25,  </div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aafe48c0c9b4b7a595c9e2d4f3ee08728">  310</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aafe48c0c9b4b7a595c9e2d4f3ee08728" title="Pin P1-23, CLK when SPI0 in use.">RPI_GPIO_P1_23</a>        = 11,  </div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ad98192fb89861a5cc541a151b1eeb793">  311</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ad98192fb89861a5cc541a151b1eeb793" title="Pin P1-24, CE0 when SPI0 in use.">RPI_GPIO_P1_24</a>        =  8,  </div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a0054a0a275142bbe81ceae66f4243faa">  312</a></span>&#160;    <a class="code" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a0054a0a275142bbe81ceae66f4243faa" title="Pin P1-26, CE1 when SPI0 in use.">RPI_GPIO_P1_26</a>        =  7   </div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;} <a class="code" href="group__constants.html#ga63c029bd6500167152db4e57736d0939" title="RPiGPIOPin Here we define Raspberry Pin GPIO pins on P1 in terms of the underlying BCM GPIO pin numbe...">RPiGPIOPin</a>;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="code" href="group__constants.html#ga49919ca09a6264b1ff512497f96a7c0d">  318</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS                      0x0000 </span></div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="code" href="group__constants.html#gabaa8c00767e856c38e3519eb9b5b73e0">  319</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_FIFO                    0x0004 </span></div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="code" href="group__constants.html#gaffd3d1ae9288feffa1a3201ee20410b8">  320</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CLK                     0x0008 </span></div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="code" href="group__constants.html#ga04ec3ff32c1ba0779168296cb4b16ac9">  321</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_DLEN                    0x000c </span></div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="code" href="group__constants.html#ga7e9ede79144d2e190270f8fbe1e1fbe6">  322</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_LTOH                    0x0010 </span></div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="code" href="group__constants.html#gadcbc54e7334424b155ee4fd2c62eaf7d">  323</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_DC                      0x0014 </span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="preprocessor"></span><span class="comment">// Register masks for SPI0_CS</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="code" href="group__constants.html#gae1289c80786e4824dd690ae1f44cfd8b">  326</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_LEN_LONG             0x02000000 </span></div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="code" href="group__constants.html#gaedcfe6aa2213d0be2d43952faaedc296">  327</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_DMA_LEN              0x01000000 </span></div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="code" href="group__constants.html#gabe3809daaf4420d004bd39f2ecf3e93a">  328</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CSPOL2               0x00800000 </span></div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="code" href="group__constants.html#gae7af165fc13312fe1465af31d6d80f10">  329</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CSPOL1               0x00400000 </span></div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="code" href="group__constants.html#ga4ec3c1bde85de8380d5810bcd385a5bd">  330</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CSPOL0               0x00200000 </span></div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="code" href="group__constants.html#gabc15a6b0f38c304d756699c8b0c4b94d">  331</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_RXF                  0x00100000 </span></div>
<div class="line"><a name="l00332"></a><span class="lineno"><a class="code" href="group__constants.html#gac4a5bcc3bb89c287f0f7cdbc6498251d">  332</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_RXR                  0x00080000 </span></div>
<div class="line"><a name="l00333"></a><span class="lineno"><a class="code" href="group__constants.html#ga510230183c6e2b2214e7ec6f14b018a1">  333</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_TXD                  0x00040000 </span></div>
<div class="line"><a name="l00334"></a><span class="lineno"><a class="code" href="group__constants.html#ga62071206e365c0709810f9ba99bfbf0a">  334</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_RXD                  0x00020000 </span></div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="code" href="group__constants.html#gaf08ece95c7f4b756e9b7ad04ca28bf1f">  335</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_DONE                 0x00010000 </span></div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="code" href="group__constants.html#gac0780b01fb7fc1e0ee2859c253c6e195">  336</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_TE_EN                0x00008000 </span></div>
<div class="line"><a name="l00337"></a><span class="lineno"><a class="code" href="group__constants.html#ga14e979e9c1cb273dc82681d38dc3b66d">  337</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_LMONO                0x00004000 </span></div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="code" href="group__constants.html#ga7affadae5d0fe819bc45b61ae3493010">  338</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_LEN                  0x00002000 </span></div>
<div class="line"><a name="l00339"></a><span class="lineno"><a class="code" href="group__constants.html#gaadcb38922b024a8ad642e32caeeac5aa">  339</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_REN                  0x00001000 </span></div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="code" href="group__constants.html#gaf473964864614ea2dfe237f5ae96f0ca">  340</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_ADCS                 0x00000800 </span></div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="code" href="group__constants.html#ga2907287714877838fc7fac4b3663ab54">  341</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_INTR                 0x00000400 </span></div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="code" href="group__constants.html#gaefed27b79783086267da6fb38fffd4d2">  342</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_INTD                 0x00000200 </span></div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="code" href="group__constants.html#gad938aa1c2bdfd2f7e9aa7bc88a4292db">  343</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_DMAEN                0x00000100 </span></div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="code" href="group__constants.html#ga5bd14ddfd24fef1ab1fba861d03a434f">  344</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_TA                   0x00000080 </span></div>
<div class="line"><a name="l00345"></a><span class="lineno"><a class="code" href="group__constants.html#ga9d6f47f39daa782c0c1274fc1ea9040b">  345</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CSPOL                0x00000040 </span></div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="code" href="group__constants.html#ga3edadb07afa115bb65af855b3d24b041">  346</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CLEAR                0x00000030 </span></div>
<div class="line"><a name="l00347"></a><span class="lineno"><a class="code" href="group__constants.html#ga7ac47fdf8233427762c07dd40a1e6b65">  347</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CLEAR_RX             0x00000020 </span></div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="code" href="group__constants.html#gaeecd23aff57b4d5b923634fb9595485c">  348</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CLEAR_TX             0x00000010 </span></div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="code" href="group__constants.html#gaceab67c6e391ac48efaa7ab699f44ad7">  349</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CPOL                 0x00000008 </span></div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="code" href="group__constants.html#gacb5072e523048c4ddbb123777ef65900">  350</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CPHA                 0x00000004 </span></div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="code" href="group__constants.html#ga8fa69b1d8f57c1e8d98dfd0cca94cf53">  351</a></span>&#160;<span class="preprocessor">#define BCM2835_SPI0_CS_CS                   0x00000003 </span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="code" href="group__constants.html#ga1dd00efbd834646f75240c39a41c9856">  355</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;{</div>
<div class="line"><a name="l00357"></a><span class="lineno"><a class="code" href="group__constants.html#gga1dd00efbd834646f75240c39a41c9856a5c5e781f69afd9ed746eda7a91064a74">  357</a></span>&#160;    <a class="code" href="group__constants.html#gga1dd00efbd834646f75240c39a41c9856a5c5e781f69afd9ed746eda7a91064a74" title="LSB First.">BCM2835_SPI_BIT_ORDER_LSBFIRST</a> = 0,  </div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="code" href="group__constants.html#gga1dd00efbd834646f75240c39a41c9856a6db9e3863017d79cdb3eff34c14c700e">  358</a></span>&#160;    <a class="code" href="group__constants.html#gga1dd00efbd834646f75240c39a41c9856a6db9e3863017d79cdb3eff34c14c700e" title="MSB First.">BCM2835_SPI_BIT_ORDER_MSBFIRST</a> = 1   </div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;}<a class="code" href="group__constants.html#ga1dd00efbd834646f75240c39a41c9856" title="bcm2835SPIBitOrder Specifies the SPI data bit ordering">bcm2835SPIBitOrder</a>;</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="code" href="group__constants.html#ga8dd7bb496565324800130100e6bf6d86">  363</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;{</div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a217d44d5652b67ab179a20e93bbd2b87">  365</a></span>&#160;    <a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a217d44d5652b67ab179a20e93bbd2b87" title="CPOL = 0, CPHA = 0.">BCM2835_SPI_MODE0</a> = 0,  </div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a7a51dc3b999f3098d9298bead11a8960">  366</a></span>&#160;    <a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a7a51dc3b999f3098d9298bead11a8960" title="CPOL = 0, CPHA = 1.">BCM2835_SPI_MODE1</a> = 1,  </div>
<div class="line"><a name="l00367"></a><span class="lineno"><a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a2250db4cc283f1b47aec450638a5e730">  367</a></span>&#160;    <a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a2250db4cc283f1b47aec450638a5e730" title="CPOL = 1, CPHA = 0.">BCM2835_SPI_MODE2</a> = 2,  </div>
<div class="line"><a name="l00368"></a><span class="lineno"><a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a024fb7bd25395dec6b03fff0a7e80619">  368</a></span>&#160;    <a class="code" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a024fb7bd25395dec6b03fff0a7e80619" title="CPOL = 1, CPHA = 1.">BCM2835_SPI_MODE3</a> = 3,  </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;}<a class="code" href="group__constants.html#ga8dd7bb496565324800130100e6bf6d86" title="bcm2835SPIMode Specify the SPI data mode">bcm2835SPIMode</a>;</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno"><a class="code" href="group__constants.html#ga29bba154633d37d07fa130a86e4a1f2a">  373</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;{</div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aaeeb6a51216c5ac0c567827cbe6ed3cba">  375</a></span>&#160;    <a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aaeeb6a51216c5ac0c567827cbe6ed3cba" title="Chip Select 0.">BCM2835_SPI_CS0</a> = 0,     </div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aad959fea764ecd5f88758c254b21ad4b1">  376</a></span>&#160;    <a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aad959fea764ecd5f88758c254b21ad4b1" title="Chip Select 1.">BCM2835_SPI_CS1</a> = 1,     </div>
<div class="line"><a name="l00377"></a><span class="lineno"><a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aaadbb1953f89fd99126ab2862f56e0f60">  377</a></span>&#160;    <a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aaadbb1953f89fd99126ab2862f56e0f60" title="Chip Select 2 (ie pins CS1 and CS2 are asserted)">BCM2835_SPI_CS2</a> = 2,     </div>
<div class="line"><a name="l00378"></a><span class="lineno"><a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aa011213028810d80438c86259e6497486">  378</a></span>&#160;    <a class="code" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aa011213028810d80438c86259e6497486" title="No CS, control it yourself.">BCM2835_SPI_CS_NONE</a> = 3, </div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;} <a class="code" href="group__constants.html#ga29bba154633d37d07fa130a86e4a1f2a" title="bcm2835SPIChipSelect Specify the SPI chip select pin(s)">bcm2835SPIChipSelect</a>;</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;</div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="code" href="group__constants.html#gaf2e0ca069b8caef24602a02e8a00884e">  384</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;{</div>
<div class="line"><a name="l00386"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaa381b689cf30ac842a243a23bdf3309c">  386</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaa381b689cf30ac842a243a23bdf3309c" title="65536 = 256us = 4kHz">BCM2835_SPI_CLOCK_DIVIDER_65536</a> = 0,       </div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaee2d41b864505f54680bf9c39ff9effa">  387</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaee2d41b864505f54680bf9c39ff9effa" title="32768 = 126us = 8kHz">BCM2835_SPI_CLOCK_DIVIDER_32768</a> = 32768,   </div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea6de39279629b70dd251224654fd0d740">  388</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea6de39279629b70dd251224654fd0d740" title="16384 = 64us = 15.625kHz">BCM2835_SPI_CLOCK_DIVIDER_16384</a> = 16384,   </div>
<div class="line"><a name="l00389"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea0a77ba2730542fe0ddc670d1c2e84369">  389</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea0a77ba2730542fe0ddc670d1c2e84369" title="8192 = 32us = 31.25kHz">BCM2835_SPI_CLOCK_DIVIDER_8192</a>  = 8192,    </div>
<div class="line"><a name="l00390"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ead6ddf8fe2bcde3cdd1ce70318baa95f1">  390</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ead6ddf8fe2bcde3cdd1ce70318baa95f1" title="4096 = 16us = 62.5kHz">BCM2835_SPI_CLOCK_DIVIDER_4096</a>  = 4096,    </div>
<div class="line"><a name="l00391"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaef8bf46632f27ceeb09cfdf1343f6372">  391</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaef8bf46632f27ceeb09cfdf1343f6372" title="2048 = 8us = 125kHz">BCM2835_SPI_CLOCK_DIVIDER_2048</a>  = 2048,    </div>
<div class="line"><a name="l00392"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea35ad8dd00de04e4937484d7bc88c39bf">  392</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea35ad8dd00de04e4937484d7bc88c39bf" title="1024 = 4us = 250kHz">BCM2835_SPI_CLOCK_DIVIDER_1024</a>  = 1024,    </div>
<div class="line"><a name="l00393"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaf16cc5e10c27b15905e2a0ad96e75474">  393</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaf16cc5e10c27b15905e2a0ad96e75474" title="512 = 2us = 500kHz">BCM2835_SPI_CLOCK_DIVIDER_512</a>   = 512,     </div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea89e57ec01d99fd0dd0a76ae3f47360fd">  394</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea89e57ec01d99fd0dd0a76ae3f47360fd" title="256 = 1us = 1MHz">BCM2835_SPI_CLOCK_DIVIDER_256</a>   = 256,     </div>
<div class="line"><a name="l00395"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea7794f568a5d4e7b47324581a54056e56">  395</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea7794f568a5d4e7b47324581a54056e56" title="128 = 500ns = = 2MHz">BCM2835_SPI_CLOCK_DIVIDER_128</a>   = 128,     </div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ead4df233d940ac171848f52cdbf674b96">  396</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ead4df233d940ac171848f52cdbf674b96" title="64 = 250ns = 4MHz">BCM2835_SPI_CLOCK_DIVIDER_64</a>    = 64,      </div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eacd3770db41537912fe4df6a6f422c715">  397</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eacd3770db41537912fe4df6a6f422c715" title="32 = 125ns = 8MHz">BCM2835_SPI_CLOCK_DIVIDER_32</a>    = 32,      </div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaffcc5bace28292640a1e2440a62add79">  398</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaffcc5bace28292640a1e2440a62add79" title="16 = 50ns = 20MHz">BCM2835_SPI_CLOCK_DIVIDER_16</a>    = 16,      </div>
<div class="line"><a name="l00399"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea165b0b0132f663ff147911de8a319bdb">  399</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea165b0b0132f663ff147911de8a319bdb" title="8 = 25ns = 40MHz">BCM2835_SPI_CLOCK_DIVIDER_8</a>     = 8,       </div>
<div class="line"><a name="l00400"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea719364dedf064df7665b51ef8050b7bd">  400</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea719364dedf064df7665b51ef8050b7bd" title="4 = 12.5ns 80MHz">BCM2835_SPI_CLOCK_DIVIDER_4</a>     = 4,       </div>
<div class="line"><a name="l00401"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea856f674b6f6ae675e8c8d55ad88790ee">  401</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea856f674b6f6ae675e8c8d55ad88790ee" title="2 = 6.25ns = 160MHz">BCM2835_SPI_CLOCK_DIVIDER_2</a>     = 2,       </div>
<div class="line"><a name="l00402"></a><span class="lineno"><a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea609ee949d81b0a35951c83f14871207b">  402</a></span>&#160;    <a class="code" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea609ee949d81b0a35951c83f14871207b" title="0 = 256us = 4kHz">BCM2835_SPI_CLOCK_DIVIDER_1</a>     = 1,       </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;} <a class="code" href="group__constants.html#gaf2e0ca069b8caef24602a02e8a00884e" title="bcm2835SPIClockDivider Specifies the divider used to generate the SPI clock from the system clock...">bcm2835SPIClockDivider</a>;</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="comment">// Defines for PWM</span></div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a9af27edf2db7a6771d37dde27004cb48">  410</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM_CONTROL 0</span></div>
<div class="line"><a name="l00411"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#abc3abe2d7571efa5d6ff382cbad08de9">  411</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWM_STATUS  1</span></div>
<div class="line"><a name="l00412"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a3dc89648756d3237ff3bf35f275e956c">  412</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWM0_RANGE  4</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a8e90e54f8ff4be6341a8fb471ea82d5a">  413</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWM0_DATA   5</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#af2d357e34e5cba38dd054500416e5361">  414</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWM1_RANGE  8</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#aaf73678eacc87ff5dea02b809c95c6ae">  415</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWM1_DATA   9</span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00417"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a8dee6063564ddffe194b630e2f10c8a0">  417</a></span>&#160;<span class="preprocessor">#define BCM2835_PWMCLK_CNTL     40</span></div>
<div class="line"><a name="l00418"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a372731b9983041715a6ec36f8465cc77">  418</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWMCLK_DIV      41</span></div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00420"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a38e7179d2b775f1f4dec9edc1e8ea5e7">  420</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_MS_MODE    0x8000  </span></div>
<div class="line"><a name="l00421"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a6bfb5ef2d63166c975fd4f8e3ea05e08">  421</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_USEFIFO    0x2000  </span></div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a10e59412f0dbae2e7c01d2dfde167b36">  422</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_REVPOLAR   0x1000  </span></div>
<div class="line"><a name="l00423"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#abd02e63cd8cb26a39f966145f9daa2bc">  423</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_OFFSTATE   0x0800  </span></div>
<div class="line"><a name="l00424"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a8b1dd9f5f856d133d6efa3dd8b8264e4">  424</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_REPEATFF   0x0400  </span></div>
<div class="line"><a name="l00425"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a51a885ab9abdc015b71506e42c91bd41">  425</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_SERIAL     0x0200  </span></div>
<div class="line"><a name="l00426"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a0c8648a4039592e3ef75728cc7c3f2e8">  426</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM1_ENABLE     0x0100  </span></div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a25ee47e91485fe545f76f9201f5c7b44">  428</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BCM2835_PWM0_MS_MODE    0x0080  </span></div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a0893b885d6255e2054377fad0ded88e5">  429</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM0_USEFIFO    0x0020  </span></div>
<div class="line"><a name="l00430"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a0a20f1145d21d468df5a176fa8a1eab1">  430</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM0_REVPOLAR   0x0010  </span></div>
<div class="line"><a name="l00431"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a6473d26e6c953a05b9d004321aaf154c">  431</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM0_OFFSTATE   0x0008  </span></div>
<div class="line"><a name="l00432"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#ae4389b9157d095527599cd25f7b2d3e8">  432</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM0_REPEATFF   0x0004  </span></div>
<div class="line"><a name="l00433"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a14d0914ff73d19a32408fc1687b17fca">  433</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM0_SERIAL     0x0002  </span></div>
<div class="line"><a name="l00434"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#ab9de1aacc5aa454523e38434ed93bc08">  434</a></span>&#160;<span class="preprocessor">#define BCM2835_PWM0_ENABLE     0x0001  </span></div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;<span class="preprocessor"></span><span class="comment">// Historical name compatibility</span></div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;<span class="preprocessor">#ifndef BCM2835_NO_DELAY_COMPATIBILITY</span></div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a524f992188578dc1b5b0baed174bec0a">  438</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define delay(x) bcm2835_delay(x)</span></div>
<div class="line"><a name="l00439"></a><span class="lineno"><a class="code" href="bcm2835_8h.html#a6209d4b66365091c2bc551d354167e03">  439</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define delayMicroseconds(x) bcm2835_delayMicroseconds(x)</span></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group__init.html#ga9351fa3ec8eeff4e9d998d3d5d912a4f">bcm2835_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group__init.html#ga3a42892f61764132d106a4ae32271002">bcm2835_close</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span>  <a class="code" href="group__init.html#gaf1a6cc6b217b8ff0270ef99300c29e3c">bcm2835_set_debug</a>(uint8_t debug);</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    <span class="keyword">extern</span> uint32_t <a class="code" href="group__lowlevel.html#ga5f242135f5088f8c319492426a1ed5e3">bcm2835_peri_read</a>(<span class="keyword">volatile</span> uint32_t* paddr);</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;    <span class="keyword">extern</span> uint32_t <a class="code" href="group__lowlevel.html#ga0f541d0997978dd30f60231b64f10230">bcm2835_peri_read_nb</a>(<span class="keyword">volatile</span> uint32_t* paddr);</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__lowlevel.html#ga639da6963ab76e3109b9909f3a9e6171">bcm2835_peri_write</a>(<span class="keyword">volatile</span> uint32_t* paddr, uint32_t value);</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__lowlevel.html#ga1c158b76d194b94d0b2fb1488f9ff30e">bcm2835_peri_write_nb</a>(<span class="keyword">volatile</span> uint32_t* paddr, uint32_t value);</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__lowlevel.html#ga01949a6285305f38ce0a47154e55c1b6">bcm2835_peri_set_bits</a>(<span class="keyword">volatile</span> uint32_t* paddr, uint32_t value, uint32_t mask);</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gaf866b136c0a9fd4cca4065ce51eb4495">bcm2835_gpio_fsel</a>(uint8_t pin, uint8_t mode);</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga2edcdd8eecf3a004ea771669c4e66959">bcm2835_gpio_set</a>(uint8_t pin);</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gafea3acccb00e21160b510f440a33e5e0">bcm2835_gpio_clr</a>(uint8_t pin);</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    <span class="keyword">extern</span> uint8_t <a class="code" href="group__gpio.html#ga693becf47034d3b2d8ed0ac4e74de173">bcm2835_gpio_lev</a>(uint8_t pin);</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;    <span class="keyword">extern</span> uint8_t <a class="code" href="group__gpio.html#ga41128b1ec95d00329f7f399b56b59c19">bcm2835_gpio_eds</a>(uint8_t pin);</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gabc7458bd0de6fb2de781c8337c1cffb1">bcm2835_gpio_set_eds</a>(uint8_t pin);</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga5b70fa96491b9b1d9b3fb21bfefe2fd7">bcm2835_gpio_ren</a>(uint8_t pin);</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gaa5826edb1b17dd9095fa3bcae5ded485">bcm2835_gpio_clr_ren</a>(uint8_t pin);</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gac9ea2f8c63f0330f12e1b24444d92e50">bcm2835_gpio_fen</a>(uint8_t pin);</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga196b61d8bf334be6acec590de6dc8f88">bcm2835_gpio_clr_fen</a>(uint8_t pin);</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga2cb94aef80b49335057e338d71e46608">bcm2835_gpio_hen</a>(uint8_t pin);</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga3c3b5297f5c2aeb5d2046a5b6de15d96">bcm2835_gpio_clr_hen</a>(uint8_t pin);</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga8e990d48db929445ac3e899ca0f5ed07">bcm2835_gpio_len</a>(uint8_t pin);</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gac3b51f656f5495dad715ff3c01417aea">bcm2835_gpio_clr_len</a>(uint8_t pin);</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gaa77a0e0d39a6b4423419a16055ce71cc">bcm2835_gpio_aren</a>(uint8_t pin);</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga6f3e122871853b34d97b65284cf7cc47">bcm2835_gpio_clr_aren</a>(uint8_t pin);</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga7e1f1686b60043c00327255e523d98f6">bcm2835_gpio_afen</a>(uint8_t pin);</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga8ec8bf224e25ed395d4eecf3ad308ca3">bcm2835_gpio_clr_afen</a>(uint8_t pin);</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga03b93e27d85686cc295f46d34776c57f">bcm2835_gpio_pud</a>(uint8_t pud);</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga260327891497441ac1498f3280c055ed">bcm2835_gpio_pudclk</a>(uint8_t pin, uint8_t on);</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;    <span class="keyword">extern</span> uint32_t <a class="code" href="group__gpio.html#gaba51cd52ba75cbc9b03f3d629ad931a1">bcm2835_gpio_pad</a>(uint8_t group);</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gac69a029acceb17691826650d8f188cd8">bcm2835_gpio_set_pad</a>(uint8_t group, uint32_t control);</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga3ffbe079732a995cfacd691f677d9789">bcm2835_delay</a> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="wiringPi_8c.html#a941a22cb7e0f6429fe40f91e83ead3d9">millis</a>);</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gae49c7d58397edb0200d171c8a47b272b">bcm2835_delayMicroseconds</a> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> micros);</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#ga22f9b05d8edda3ef57cd58728e9c3baa">bcm2835_gpio_write</a>(uint8_t pin, uint8_t on);</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__gpio.html#gaa69ba311c1cde834d8a2beb8ab5f745a">bcm2835_gpio_set_pud</a>(uint8_t pin, uint8_t pud);</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#gac888dc9b78b695f6c13eeeaa813c0d82">bcm2835_spi_begin</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#gad25421b3a4a6ca280dfdd39c94c3279a">bcm2835_spi_end</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#ga0127eab1b6c3f8bf127bdac474fdc0f9" title="see bcm2835SPIBitOrder">bcm2835_spi_setBitOrder</a>(uint8_t order);</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#gad623657d9513faa89d22ae1dc87eec38" title="see bcm2835SPIClockDivider">bcm2835_spi_setClockDivider</a>(uint16_t divider);</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#gabfbf797499756d38e3667f05ee8fd11d" title="see bcm2835SPIMode">bcm2835_spi_setDataMode</a>(uint8_t mode);</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#ga2fa186568605c21e9166a19b1d82ea95">bcm2835_spi_chipSelect</a>(uint8_t cs);</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#gaee4edaf16fe21455441965bc57e78724">bcm2835_spi_setChipSelectPolarity</a>(uint8_t cs, uint8_t active);</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    <span class="keyword">extern</span> uint8_t <a class="code" href="group__spi.html#ga600dc972f1064908b41b349c92d7647d">bcm2835_spi_transfer</a>(uint8_t value);</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;    </div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#gac24692f270bb3411990ea706ddd4fee9">bcm2835_spi_transfernb</a>(<span class="keywordtype">char</span>* tbuf, <span class="keywordtype">char</span>* rbuf, uint32_t len);</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__spi.html#ga06884e9cd71dfe380f846b09f47b7248">bcm2835_spi_transfern</a>(<span class="keywordtype">char</span>* buf, uint32_t len);</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;<span class="preprocessor">#endif // BCM2835_H</span></div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;</div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;</div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 16 2013 16:20:02 for RaspBerryPi power control by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
